package com.ebring.shareEducation.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by Cola
 * Date  2018-12-07 17:23
 * <p>
 * 金币模块
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "COIN_ORDER")
public class CoinOrder implements Serializable {

    @Id
    private String coinId; // 金币流水ID
    private String tradeTime; // 交易时间
    private String userId; // 用户ID
    private String getType; // 获取或消费渠道 1充值 2提现 3发布任务 4接任务 5查看资料
    private String plusOrMinus; // 正负 0负 1正
    private String amount; // 数量
    private String remark; // 备注
    private String taskReleaseId; // 任务id
}
